import React from 'react'
interface MenuProps {
    title: string;
    onClick(): void;
}
interface MenuState {}

class Menu extends React.PureComponent<MenuProps, MenuState> {
    render() {
        const { title } = this.props;
        return (
            <div>
                title为：{title}
                <br/>
                当前是menu，来自公共组件common
                <button onClick={this.props.onClick}>点击我</button>
            </div>
        )
    }
}

export default Menu
